A Linear Time Algorithm for Solving #2SAT on Cactus Formulas

نویسندگان

  • M. A. López
  • José Raymundo Marcial-Romero
  • Guillermo De Ita Luna
  • Héctor A. Montes Venegas
  • Roberto Alejo
چکیده

— An í µí± ¶ í µí² + í µí²Ž-time algorithm is presented for counting the number of models of a two Conjunctive Normal Form Formula F that represents a Cactus graph, where í µí² is the number of variables and í µí²Ž is the number of clauses of F. Although, it was already known that this class of formulas could be computed in polynomial time, we compare our proposal algorithm with two state of the art implementations for the same problem, sharpSAT and countAntom. The results of the comparison show that our algorithm outperforms both implementations, and it can be considered as a base case for general counting of two Conjunctive Normal Formulas. razonamiento [3][4][5]. Los anteriores problemas provienen de aplicaciones de la Inteligencia Artificial, tales como Sea í µí±‹ = {í µí±¥ ! , … , í µí±¥ ! } un conjunto de í µí±› variables Booleanas. Una literal es una variable í µí±¥ ! (í µí±¥ ! !) o la variable negada ¬í µí±¥ ! (í µí±¥ ! !). Una cláusula es una disyunción de literales distintas. Una fórmula Booleana í µí°¹ en forma normal conjuntiva (FNC) es una conjunción de cláusulas. Sea í µí±£(í µí±Œ) el conjunto de variables involucradas en el E

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On solving Boolean combinations of generalized 2SAT constraints

" is the maximum over the absolute values of constants appearing in the constraints. This solution bound improves over previously obtained bounds by an exponential factor. Our result enables a new enumerative approach to satisfiability checking. An experimental evaluation demonstrates the efficiency of this approach over previous techniques. As a corollary of our main result, we obtain a polyno...

متن کامل

Presentation and Solving Non-Linear Quad-Level Programming Problem Utilizing a Heuristic Approach Based on Taylor Theorem

The multi-level programming problems are attractive for many researchers because of their application in several areas such as economic, traffic, finance, management, transportation, information technology, engineering and so on. It has been proven that even the general bi-level programming problem is an NP-hard problem, so the multi-level problems are practical and complicated problems therefo...

متن کامل

A New Play-off Approach in League Championship Algorithm for Solving Large-Scale Support Vector Machine Problems

There are many numerous methods for solving large-scale problems in which some of them are very flexible and efficient in both linear and non-linear cases. League championship algorithm is such algorithm which may be used in the mentioned problems. In the current paper, a new play-off approach will be adapted on league championship algorithm for solving large-scale problems. The proposed algori...

متن کامل

Compact linear programs for 2SAT

For each integer n we present an explicit formulation of a compact linear program, with O(n) variables and constraints, which determines the satisfiability of any 2SAT formula with n boolean variables by a single linear optimization. This contrasts with the fact that the natural polytope for this problem, formed from the convex hull of all satisfiable formulas and their satisfying assignments, ...

متن کامل

GGMRES: A GMRES--type algorithm for solving singular linear equations with index one

In this paper, an algorithm based on the Drazin generalized conjugate residual (DGMRES) algorithm is proposed for computing the group-inverse solution of singular linear equations with index one. Numerical experiments show that the resulting group-inverse solution is reasonably accurate and its computation time is significantly less than that of group-inverse solution obtained by the DGMRES alg...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1702.08581  شماره 

صفحات  -

تاریخ انتشار 2017